package com.module.config;

import com.module.utils.ToolUtil;
import org.beetl.ext.spring.BeetlGroupUtilConfiguration;
import org.springframework.context.annotation.Configuration;

/**
 * beetl拓展配置,绑定一些工具类,方便在模板中直接调用
 */
@Configuration
public class BeetlConfiguration extends BeetlGroupUtilConfiguration {

    @Override
    public void initOther() {

        groupTemplate.registerFunctionPackage("tool", new ToolUtil());

    }
}
